package com.ibeeking.found.open.service.common.constants;

/**
 * @ClassName RedisKeyConstant
 * @Description redisKey
 * @Author ibeeking
 * @Date 2020-06-29 14:54
 **/
public class RedisKeyConstant {

    /**
     * 模块
     */
    public static final String PAY_B = "PAY_B:";
    public static final String PAY_C = "PAY_C:";

    /**
     * 30天
     */
    public static final long MONTH = 10125 << 8L;
    /**
     * 1天
     */
    public static final long DAY = 675 << 7L;
    /**
     * 半天
     */
    public static final long HALF_DAY = 675 << 6L;
    /**
     * 1小时
     */
    public static final long HOUR = 225 << 4L;

    public static final Integer WX_CP_SUITE_TICKET_EXPIRE_TIME = 20 * 60;

    public static final Integer WX_CP_SUITE_ACCESS_EXPIRE_TIME = 120 * 60;

    public static final String reedisOPEN_EVENT_AUTHORIZED = "OPEN_EVENT_AUTHORIZED";

    public static final String OPEN_AUTHORIZED_INFO = "OPEN_AUTHORIZED_INFO";

    public static final String OPEN_AUTHORIZED_REFRESH_TOKEN = "OPEN_AUTHORIZED_REFRESH_TOKEN";

    public static final String OPEN_AUTHORIZED_ACCESS_TOKEN = "OPEN_AUTHORIZED_ACCESS_TOKEN";

    public static final String OPEN_COMPONENT_VERIFY_TICKET = "OPEN_COMPONENT_VERIFY_TICKET";

    public static final String WX_OPEN_CONFIG_KEY = "wx:open:config:";

    public static final String WX_OPEN_AUTH_KEY = "wx:open:auth:";

    public static final String WX_CP_TP_SUITE_TICKET = "wx:cp:tp:suite_ticket:";

    public static final String WX_CP_TP_SUITE_ACCESS_TOKEN = "wx:cp:tp:suite_access_token:";

    public static final String WX_CP_TP_PERMANENT_CODE = "wx:cp:tp:permanent_code:";

    public static final String WX_CP_TP_CORP_ACCESS = "wx:cp:tp:corp_access_token:";

    public static final String WX_CP_TP_EXPIRE_IN = "wx:cp:tp:expire_in:";

    public static final String WX_CP_DK_SUITE_TICKET = "wx:cp:dk:suite_ticket:";

    public static final String WX_CP_DK_SUITE_ACCESS_TOKEN = "wx:cp:dk:suite_access_token:";

    public static final String WX_CP_DK_PROVIDER_ACCESS_TOKEN = "wx:cp:dk:provider_access_token:";

    public static final String WX_CP_DK_PERMANENT_CODE = "wx:cp:dk:permanent_code:";

    public static final String WX_CP_DK_CORP_ACCESS = "wx:cp:dk:corp_access_token:";

    public static final String WX_CP_DK_AUTH_QRCODE = "wx:cp:dk:auth_qrcode:";

    public static final String WX_CP_DK_EXPIRE_IN = "wx:cp:dk:expire_in:";

    public static final String WX_CP_CONTACT_SUITE_TICKET = "wx:cp:contact:suite_ticket:";

    public static final String WX_CP_CONTACT_SUITE_ACCESS_TOKEN = "wx:cp:contact:suite_access_token:";

    public static final String WX_CP_CONTACT_PERMANENT_CODE = "wx:cp:contact:permanent_code:";

    public static final String WX_CP_CONTACT_CORP_ACCESS = "wx:cp:contact:corp_access_token:";

    public static final String WX_CP_CONTACT_EXPIRE_IN = "wx:cp:contact:expire_in:";

    public static final String DT_CP_TP_SUITE_TICKET = "dt:cp:tp:suite_ticket:";

    public static final String DT_CP_TP_SUITE_ACCESS_TOKEN = "dt:cp:tp:suite_access_token:";

    public static final String DT_CP_TP_PERMANENT_CODE = "dt:cp:tp:permanent_code:";

    public static final String DT_CP_TP_CORP_ACCESS = "dt:cp:tp:corp_access_token:";

    public static final String DT_CP_TP_EXPIRE_IN = "dt:cp:tp:expire_in:";

}
